<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>First JS Code</title>
<script>
alert("My First JavaScript");
function displayDate(){
    document.getElementById("demo").innerHTML=Date();
}
</script>
</head>
<body>
<h1>My First JavaScript Code</h1>
<p id="demo">Date Place</p>
<button type="button" onclick="displayDate()">show date</button>
</body>
</html>
